FROM amd64/python:3.9-slim

ENV PYTHONUNBUFFERED 1

RUN mkdir /code

WORKDIR /code

ADD requirements.txt /code/

RUN pip install --upgrade pip
RUN pip install -r requirements.txt

ADD . /code/